import React from 'react'
import { withStyles } from 'material-ui/styles'

import PropTypes from 'prop-types'

const bgLineStyle = {
  bgLine: {
    width: '100%',
    height: '10px',
    background: '#eee',
  },
}
const BgLine = props => (
  <div
    className={props.classes.bgLine}
    style={{
      background: props.background,
      height: props.height,
    }}
  />
)
export default withStyles(bgLineStyle)(BgLine)

BgLine.propTypes = {
  classes: PropTypes.objectOf(Object),
  background: PropTypes.string,
  height: PropTypes.string,
}
